projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eee7fb
)
Don't call g_object_unref on a variant
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 30 Nov 2011 21:33:32 +0000
(16:33 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Mon, 19 Dec 2011 17:51:08 +0000
(12:51 -0500)
Tsk, tsk...
examples/bloatpad.c
patch
|
blob
|
history
diff --git
a/examples/bloatpad.c
b/examples/bloatpad.c
index 74eac3174f538ddc05dcb4060a4da8e70cc426e3..d6e549b704aa688a78a374aeb67e8ee4816b5de5 100644
(file)
--- a/
examples/bloatpad.c
+++ b/
examples/bloatpad.c
@@
-24,7
+24,7
@@
activate_toggle (GSimpleAction *action,
state = g_action_get_state (G_ACTION (action));
g_action_change_state (G_ACTION (action), g_variant_new_boolean (!g_variant_get_boolean (state)));
- g_
objec
t_unref (state);
+ g_
varian
t_unref (state);
}
static void